Storage Cost Reduction By Advanced Battery Management